package com.shiroha.common.exception;

import org.springframework.http.HttpStatus;

import java.io.Serial;

public final class BadRequestException extends ServiceException {
    @Serial
    private static final long serialVersionUID = 1L;

    public BadRequestException(String message) {
        super(message, HttpStatus.BAD_REQUEST);
    }

    public BadRequestException(String message, Throwable cause) {
        super(message, HttpStatus.BAD_REQUEST, cause);
    }
}
